const homePageRoutes = [
    {
        name: 'dashboard',
        path: '/dashboard',
        meta: {
            title: '',
            icon: 'icon-dashboard',
            type: 'M',
            affix: true
        },
        component: () => import('@/views/dashboard/index.vue')
    },
    {
        name: 'userCenter',
        path: '/usercenter',
        meta: {
            title: '个人信息',
            icon: 'icon-user',
            type: 'M'
        },
        component: () => import('@/views/userCenter/index.vue')
    },
    {
        name: 'message',
        path: '/message',
        meta: {
            title: '消息中心',
            icon: 'icon-message',
            type: 'M'
        },
        component: () => import('@/views/userCenter/message.vue')
    },
    {
        name: 'store',
        path: '/store',
        component: () => import('@/views/appStore/index.vue'),
        meta: { title: '应用市场', hidden: true }
    }
];

export const homePage = {
    name: 'home',
    path: '/home',
    meta: { title: '首页', icon: 'icon-home', hidden: false, type: 'M' }
};

export default homePageRoutes;
